import React from 'react';
import { Layout, Breadcrumb } from 'antd';
import Header from '../../components/Header';
import SearchForm from '../../components/SearchForm';
import SearchResult from '../../components/SearchResult';

const { Content } = Layout;

const Search: React.FC = () => {
  return (
    <Layout style={{ minHeight: '100vh', background: '#f6faff' }}>
      <Header />
      <Content style={{ padding: '0 50px', marginTop: 64 }}>
        <div style={{ background: 'transparent', padding: 0, minHeight: 280 }}>
          <Breadcrumb style={{ margin: '24px 0' }}>
            <Breadcrumb.Item>搜索</Breadcrumb.Item>
          </Breadcrumb>
          <SearchForm />
          <SearchResult />
        </div>
      </Content>
    </Layout>
  );
};

export default Search; 